package com.it.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.it.domain.BlogTypeEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author : code1997
 * @date : 2021/9/9 22:46
 */
@Mapper
public interface BlogTypeMapper extends BaseMapper<BlogTypeEntity> {

    @Select("select * from t_type limit #{size}")
    List<BlogTypeEntity> listTypeTop(Integer size);

}
